projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
838f122
)
* lisp/simple.el (save-mark-and-excursion): Add declare forms.
author
Mark Oteiza
<mvoteiza@udel.edu>
Sun, 3 Jul 2016 22:53:39 +0000
(18:53 -0400)
committer
Mark Oteiza
<mvoteiza@udel.edu>
Sun, 3 Jul 2016 22:54:43 +0000
(18:54 -0400)
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index bc3e7b83b8d8b2e8a3fd4debc63d150340894562..0da70976ed5ec85aba2394ef1c3b4807dbe1fcdf 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-5223,6
+5223,7
@@
store it in a Lisp variable. Example:
(defmacro save-mark-and-excursion (&rest body)
"Like `save-excursion', but also save and restore the mark state.
This macro does what `save-excursion' did before Emacs 25.1."
+ (declare (indent 0) (debug t))
(let ((saved-marker-sym (make-symbol "saved-marker")))
`(let ((,saved-marker-sym (save-mark-and-excursion--save)))
(unwind-protect